import Vue from 'vue'
import App from './App.vue'
import router from './routers/router'
import ElementUI from 'element-ui'
import Fragment from 'vue-fragment'
// import store from './store/index'
import 'element-ui/lib/theme-chalk/index.css'
import axios from 'axios'
import {get,post} from './request/http'
import './assets/font/font.css'
import './assets/icon/iconfont.css'
// import './assets/css/style.less'
// import './assets/css/common.css'
import base from './Base.vue'
import { showLoading, hideLoading } from './components/loading.js';
Vue.prototype.$showLoading=showLoading;
Vue.prototype.$hideLoading=hideLoading
Vue.use(ElementUI)
Vue.use(Fragment.Plugin)
Vue.prototype.$get=get;
Vue.prototype.$post=post;
Vue.prototype.BASE_API_URL = base.API_URL
Vue.prototype.BASE_MAIN_URL = base.MAIN_URL
new Vue({
  router,
  // store,
  render: h => h(App)
}).$mount('#app');
